package com.csc.mapper;

import com.csc.dto.BookParam;
import com.csc.entity.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface BookMapper {


    List<Book> getList(@Param("bookParam") BookParam bookParam);

    int add(Book book);

    int delete(Integer bookID);

    int update(Integer bookID);
}
